package presentation.controller;

import logic.facade.TeacherFacade;
import java.util.List;
import vo.IValueObject;
import vo.TeacherVO;

/**
 *
 * @author Alexander
 */
public class ControlPanelUpdateTeacher {

    public List<IValueObject> getTeachers() {
        return new TeacherFacade().getList();
    }

    public boolean update(TeacherVO vo) {
        return new TeacherFacade().update(vo);
    }

    public boolean delete(int id) {
        return new TeacherFacade().delete(id);
    }
    
    
    
}
